package ltd.hxya.novel.gateway;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, ShardingSphereAutoConfiguration.class},scanBasePackages = {"ltd.hxya.novel"})
public class NovelGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(NovelGatewayApplication.class,args);
    }
}
